import grails.test.*

class DateTagLibTests extends TagLibUnitTestCase {
//    protected void setUp() {
//        super.setUp()
//    }
//
//    protected void tearDown() {
//        super.tearDown()
//    }

def dateTagLib

  void setUp(){
    dateTagLib = new DateTagLib()
  }

  void testThisYear() {
    String expected = Calendar.getInstance().get(Calendar.YEAR)
    assertEquals("the years don't match", expected, dateTagLib.thisYear())
  }
  
}

